﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopNotifyTrade : BaseObject
    {
        //begin
        public TopNotifyTrade(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _TopOid;
        [Size(SizeAttribute.Unlimited)]
        public string TopOid
        {
            get
            {
                return _TopOid;
            }
            set
            {
                SetPropertyValue("TopOid", ref _TopOid, value);
            }
        }
        private string _Tid;
        [Size(SizeAttribute.Unlimited)]
        public string Tid
        {
            get
            {
                return _Tid;
            }
            set
            {
                SetPropertyValue("Tid", ref _Tid, value);
            }
        }
        private string _SellerNick;
        [Size(SizeAttribute.Unlimited)]
        public string SellerNick
        {
            get
            {
                return _SellerNick;
            }
            set
            {
                SetPropertyValue("SellerNick", ref _SellerNick, value);
            }
        }
        private string _BuyerNick;
        [Size(SizeAttribute.Unlimited)]
        public string BuyerNick
        {
            get
            {
                return _BuyerNick;
            }
            set
            {
                SetPropertyValue("BuyerNick", ref _BuyerNick, value);
            }
        }
        private decimal _Payment;
        public decimal Payment
        {
            get
            {
                return _Payment;
            }
            set
            {
                SetPropertyValue("Payment", ref _Payment, value);
            }
        }
        private string _TradeMark;
        [Size(SizeAttribute.Unlimited)]
        public string TradeMark
        {
            get
            {
                return _TradeMark;
            }
            set
            {
                SetPropertyValue("TradeMark", ref _TradeMark, value);
            }
        }
        private string _Type;
        [Size(SizeAttribute.Unlimited)]
        public string Type
        {
            get
            {
                return _Type;
            }
            set
            {
                SetPropertyValue("Type", ref _Type, value);
            }
        }
        private string _Status;
        [Size(SizeAttribute.Unlimited)]
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private DateTime _Modified;
        public DateTime Modified
        {
            get
            {
                return _Modified;
            }
            set
            {
                SetPropertyValue("Modified", ref _Modified, value);
            }
        }
        //end
    }
}
